From 656061cb2b84e1fe7abd30d27a48718d62e97270 Mon Sep 17 00:00:00 2001 From: Lars Hamann Date: Sun, 26 Jul 1998 15:54:41 +0000 Subject: [PATCH] little fix to avoid warnings * gtk/gtkclist.c gtk/gtkctree.c : little fix to avoid warnings --- gtk/gtkclist.c | 2 +- gtk/gtkctree.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index a1e9c951de..cf428a0b6b 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -5560,7 +5560,7 @@ abort_column_resize (GtkCList *clist) return; GTK_CLIST_UNSET_FLAG (clist, CLIST_IN_DRAG); - gtk_grab_remove (clist); + gtk_grab_remove (GTK_WIDGET (clist)); gdk_pointer_ungrab (gdk_time_get()); if (clist->x_drag >= 0 && clist->x_drag <= clist->clist_window_width - 1) diff --git a/gtk/gtkctree.c b/gtk/gtkctree.c index de2dbf8000..c04c34e3be 100644 --- a/gtk/gtkctree.c +++ b/gtk/gtkctree.c @@ -24,6 +24,7 @@ #include #include "gtkctree.h" #include "gtkbindings.h" +#include "gtkmain.h" #include #include -- 2.30.2